package com.jie.jie.mvp.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jie on 2017/1/22.
 */

public class MvpdataBean implements Serializable {

    /**
     * error : false
     * results : [{"_id":"586a5dd7421aa94db821c27b","createdAt":"2017-01-02T22:04:07.793Z","desc":"【科普】钢铁侠的10个经典装甲（上篇）","publishedAt":"2017-01-20T11:50:52.750Z","source":"chrome","type":"休息视频","url":"http://www.bilibili.com/video/av7746083/","used":true,"who":"LHF"},{"_id":"5877ac6f421aa9315bfbe86b","createdAt":"2017-01-13T00:18:55.111Z","desc":"Android的逆袭，仿Material Design风格的日历","images":["http://img.gank.io/2617818d-a756-44ca-9b28-daa0d13df23a"],"publishedAt":"2017-01-20T11:50:52.750Z","source":"web","type":"iOS","url":"https://github.com/luwei2012/LWCalendar","used":true,"who":"陆伟"},{"_id":"587dd0ef421aa91194ca0e32","createdAt":"2017-01-17T16:08:15.816Z","desc":"A Library help u to pick photos.","publishedAt":"2017-01-20T11:50:52.750Z","source":"web","type":"Android","url":"https://github.com/Werb/PickPhotoSample","used":true,"who":"Werb"},{"_id":"587f7fb4421aa9119a6ca69d","createdAt":"2017-01-18T22:46:12.823Z","desc":"Android下的Jack-Jill初探","publishedAt":"2017-01-20T11:50:52.750Z","source":"web","type":"Android","url":"http://zjutkz.net/2017/01/18/Android下的Jack-Jill初探/","used":true,"who":null},{"_id":"5880845e421aa9119a6ca6b3","createdAt":"2017-01-19T17:18:22.82Z","desc":"高仿爱壁纸App | Material Design","images":["http://img.gank.io/144c67c4-2dd7-41c8-ace7-68342deaab06"],"publishedAt":"2017-01-20T11:50:52.750Z","source":"web","type":"App","url":"https://github.com/LiuGuiLinAndroid/LoveWallpaper","used":true,"who":"刘桂林"},{"_id":"5880b489421aa91194ca0e46","createdAt":"2017-01-19T20:43:53.649Z","desc":" 一个实现图片花式3D翻转效果的自定义View","images":["http://img.gank.io/569acd85-6b3c-458d-a1a8-76f67546a560","http://img.gank.io/9357438d-9831-46b8-b9f5-6ab2b3bfd94b"],"publishedAt":"2017-01-20T11:50:52.750Z","source":"chrome","type":"Android","url":"https://github.com/zhangyuChen1991/Roll3DImageView","used":true,"who":"Jason"},{"_id":"5880dec3421aa9119a6ca6b8","createdAt":"2017-01-19T23:44:03.412Z","desc":"Realm Mobile Platform 1.0 发布","images":["http://img.gank.io/2e661fcf-8a93-4436-8667-6d8c1a0c1999","http://img.gank.io/9835ea61-a061-4b37-ac3b-294b8d33379a"],"publishedAt":"2017-01-20T11:50:52.750Z","source":"chrome","type":"拓展资源","url":"https://realm.io/news/realm-mobile-platform-1-0-general-availability/?utm_source=news-list&utm_medium=email&utm_content=rmp-content","used":true,"who":"vincgao"},{"_id":"5881708c421aa91194ca0e49","createdAt":"2017-01-20T10:06:04.786Z","desc":"腾讯BugHotFix简介\u2014\u2014终于热更新和bug统计可以愉快的搞基了","publishedAt":"2017-01-20T11:50:52.750Z","source":"web","type":"iOS","url":"http://fanhang.me/ios/iosre-geng-xin-ji-chu-ji-yu-bugly-jspatch","used":true,"who":"Rxamoy"},{"_id":"5881762c421aa91194ca0e4a","createdAt":"2017-01-20T10:30:04.10Z","desc":"高度自定义的微信机器人，能够实现自动回复，消息转发，防撤回，留言统计等功能","publishedAt":"2017-01-20T11:50:52.750Z","source":"chrome","type":"拓展资源","url":"https://github.com/HanSon/vbot","used":true,"who":"daimajia"},{"_id":"5881766b421aa911912f52e6","createdAt":"2017-01-20T10:31:07.621Z","desc":"美化原生 Toast ","images":["http://img.gank.io/3e380699-c527-4aeb-bd44-ca1369bb8429","http://img.gank.io/f85b1063-749b-4fa8-8e62-a0a5dfa89e53","http://img.gank.io/c665f00a-dc21-4a13-8b85-8557bb35e98d"],"publishedAt":"2017-01-20T11:50:52.750Z","source":"chrome","type":"Android","url":"https://github.com/GrenderG/Toasty","used":true,"who":"代码家"}]
     */

    private boolean error;
    private List<ResultsBean> results;

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * _id : 586a5dd7421aa94db821c27b
         * createdAt : 2017-01-02T22:04:07.793Z
         * desc : 【科普】钢铁侠的10个经典装甲（上篇）
         * publishedAt : 2017-01-20T11:50:52.750Z
         * source : chrome
         * type : 休息视频
         * url : http://www.bilibili.com/video/av7746083/
         * used : true
         * who : LHF
         * images : ["http://img.gank.io/2617818d-a756-44ca-9b28-daa0d13df23a"]
         */

        private String _id;
        private String createdAt;
        private String desc;
        private String publishedAt;
        private String source;
        private String type;
        private String url;
        private boolean used;
        private String who;
        private List<String> images;

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public String getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(String createdAt) {
            this.createdAt = createdAt;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getPublishedAt() {
            return publishedAt;
        }

        public void setPublishedAt(String publishedAt) {
            this.publishedAt = publishedAt;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public boolean isUsed() {
            return used;
        }

        public void setUsed(boolean used) {
            this.used = used;
        }

        public String getWho() {
            return who;
        }

        public void setWho(String who) {
            this.who = who;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }
}
